package cn.b.sky.mes.em.model;

import java.io.Serializable;

import cn.b.sky.common.model.ImeCommon;
import org.apache.commons.lang3.StringUtils;

/**
 * 
 * <strong>Title : Failure.java<br></strong>
 * <strong>Package : cn.b.sky.mes.em.model<br></strong>
 * <strong>Description : </strong>故障代码实体<br> 
 * <strong>Create on : 2015-11-3 下午01:10:15<br></strong>
 * <p>
 * @author zhaoxin01<br>
 * @version <strong>v1.0.0</strong><br>
 * <br>
 * <strong>修改历史:</strong><br>
 * 修改人 | 修改日期 | 修改描述<br>
 * -------------------------------------------<br>
 * <br>
 * <br>
 */
public class Failure extends ImeCommon implements Serializable {

  /** 
  * @Fields serialVersionUID
  * @creator     :zhaoxin01
  */
  private static final long serialVersionUID = 5913348431723286215L;

  private String failureCode;

  private String failureText;

  private int lockFlag;

  public String getFailureCode() {
    return StringUtils.upperCase(failureCode);
  }

  public void setFailureCode(String failureCode) {
    this.failureCode = StringUtils.upperCase(failureCode);
  }

  public String getFailureText() {
    return failureText;
  }

  public void setFailureText(String failureText) {
    this.failureText = failureText;
  }

  public int getLockFlag() {
    return lockFlag;
  }

  public void setLockFlag(int lockFlag) {
    this.lockFlag = lockFlag;
  }

}
